import Home from '../views/home/Home.vue'
import Center from '../views/center/Center.vue'
import UserList from '../views/user-manage/UserList.vue'
import RoleList from '../views/role-manage/RoleList.vue'
import RightList from '../views/role-manage/RightList.vue'
import TagList from '../views/tag-manage/TagList.vue'
import CompanyList from '../views/interview-manage/CompanyList.vue'
import CompanyData from '../views/interview-manage/CompanyData.vue'
import StudentList from '../views/student-manage/StudentList.vue'
import ClassList from '../views/student-manage/ClassList.vue'

const ConfigRoutes = [
    {
        path: '/index',
        component: Home
    },
    {
        path: '/center',
        component: Center
    },
    {
        path: '/user-manage/list',
        component: UserList
    },
    {
        path: '/user-manage',
        redirect: '/user-manage/list'
    },
    {
        path: '/right-manage/rolelist',
        component: RoleList
    },
    {
        path: '/right-manage/rightlist',
        component: RightList
    },
    {
        path: '/right-manage',
        redirect: '/right-manage/rolelist'
    },
    {
        path: '/tag-manage/list',
        component: TagList
    },
    {
        path: '/tag-manage',
        redirect: '/tag-manage/list'
    },
    {
        path: '/interview-manage/companylist',
        component: CompanyList
    },
    {
        path: '/interview-manage/companydata',
        component: CompanyData
    },
    {
        path: '/interview-manage',
        redirect: '/interview-manage/companylist'
    },
    {
        path: '/student-manage/studentlist',
        component: StudentList
    },
    {
        path: '/student-manage/classlist',
        component: ClassList
    },
    {
        path: '/student-manage',
        redirect: '/student-manage/studentlist'
    },
]

export default ConfigRoutes